package order.creator;

import order.product.FruitFactory;

/**
 * 具体构造者二MakeFruityCake
 */
public class MakeFruityCake implements MakeCake{
    private String cakeType;

    public MakeFruityCake(String cakeType){
        this.cakeType = cakeType;
    }

    public FruitFactory makeFruityCake(){
        return new FruitFactory(cakeType);
    }
}
